A. grep
B. tail
C. head
D. cat
Advertisement
Related Mcqs:
- Which of the following command is used to count just the number of lines contained in a file ?
- A. wc -lD. B. wc -c C. wc -w D. wc -r...
- Which of the following command can you execute to count the number of lines in a file ?
- A. lc B. wc – l C. cl D. count...
- Which command is used to sort the lines of data in a file in reverse order__________________?
- A. sort B. sh C. st D. sort -r...
- What command is used to count just the number of lines contained in a file ?
- A. wc – r B. wc – w C. wc – c D. wc – l...
- What command is used to count the total number of lines, words, and characters contained in a file ?
- A. countw B. wcount C. wc D. count p...
- What command is used to sort the lines of data in a file in alphabetical order ?
- A. sort – r B. st C. sh D. sort...
- Which command is used to display all the lines with the string ‘sales’ from the file empl.lst ?
- A. cut sales empl.lst B. /sales > empl.lst C. grep sales empl.lst D. cat | /sales > empl.lst...
- What command is used to sort the lines of data in a file in reverse order ?
- A. sort – r B. st C. sh D. sort...
- Which command is used to sort the lines of data in a file in alphabetical order ?
- A. sort B. sh C. st D. sort -r...
- Which command allows you to view your file 24 lines at a time ?
- A. more B. pg C. cat D. lp...
Advertisement